<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.MenuButton?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<BorderPane fx:id="borderPane" prefHeight="500.0" prefWidth="500.0" style="-fx-background-color: #E0E0E0; -fx-border-color: black; -fx-border-width: 2;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ru.nsu.fit.oop.zolotorevskii.lab3.lab3.Controllers.GameController">
   <center>
      <GridPane fx:id="gridPane" gridLinesVisible="true" minHeight="-Infinity" minWidth="-Infinity" onMouseClicked="#clickedGridPane" prefHeight="30.0" prefWidth="30.0" style="-fx-spacing: 0;" BorderPane.alignment="TOP_LEFT">
        <rowConstraints>
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="30.0" vgrow="SOMETIMES" />
        </rowConstraints>
         <columnConstraints>
            <ColumnConstraints maxWidth="-Infinity" minWidth="-Infinity" prefWidth="30.0" />
         </columnConstraints>
      </GridPane>
   </center>
   <bottom>
      <HBox alignment="TOP_RIGHT" prefHeight="19.0" prefWidth="600.0" style="-fx-spacing: 10;" BorderPane.alignment="CENTER">
         <children>
            <Text fx:id="nameLabel" strokeType="OUTSIDE" strokeWidth="0.0" text="Name">
               <font>
                  <Font size="21.0" />
               </font>
            </Text>
            <HBox prefHeight="100.0" prefWidth="200.0">
               <children>
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="Бомб Осталось:">
                     <font>
                        <Font size="16.0" />
                     </font>
                  </Text>
                  <Text fx:id="textFlags" fill="#1300e1" strokeType="OUTSIDE" strokeWidth="0.0" text="Text">
                     <font>
                        <Font size="21.0" />
                     </font>
                  </Text>
               </children>
            </HBox>
            <Text fx:id="timeLabel" strokeType="OUTSIDE" strokeWidth="0.0" text="Time" wrappingWidth="67.35968017578125">
               <font>
                  <Font size="22.0" />
               </font>
               <HBox.margin>
                  <Insets />
               </HBox.margin>
            </Text>
            <MenuButton alignment="TOP_LEFT" mnemonicParsing="false" popupSide="TOP" prefHeight="26.0" prefWidth="55.0" text="...">
              <items>
                <MenuItem fx:id="buttonMenu" mnemonicParsing="false" onAction="#clickedMenu" text="Меню" />
                <MenuItem fx:id="buttonExitGame" mnemonicParsing="false" onAction="#clickedExitGame" text="Выход" />
              </items>
            </MenuButton>
         </children>
      </HBox>
   </bottom>
</BorderPane>
